<template>
	<view>
		<!-- 自定义状态栏 -->
		<!-- <uni-nav-bar left-icon="back" left-text="返回" color="#26DB8B" ></uni-nav-bar> -->
		<!-- <uni-nav-bar left-icon="back" color="#26DB8B" backgroundColor="white" left-text="返回" left-arrow @clickLeft="back"></uni-nav-bar> -->
		<!-- 登录部分 -->
		<view class="wellcome">
			<view class="hydl">设置新密码</view>
			<view class="ysok">输入新密码，点击确定</view>

			<view class="num">新密码</view>
			<view class="unum">
				<input type="text" v-model="newpwd" value="" placeholder="请输入新密码" />
				<view class="psd" v-show="tips">长度为6-16位</view>
			</view>
			<button type="primary" @tap="queren">确认</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				newpwd:'123456',
				tips:true
			};
		},
		methods: {
			back(){
				uni.navigateBack()
			},
			queren(){
				uni.navigateTo({
					url:"../login/login"
				})
			}
		}
	}
</script>

<style lang="scss">
	* {
		// border: 1rpx solid;
	}


	/* 自定义导航栏 */
	

	.wellcome {
		padding: 70rpx;

		.hydl {
			font-size: 37rpx;
			font-weight: 600;
		}

		.ysok {
			font-size: 23rpx;
			margin-top: 20rpx;
			color: #999999;
		}

		.num {
			margin-top: 100rpx;
			font-size: 28rpx;
		}
		
		.unum{
			display: flex;
			justify-content: space-between;
			border-bottom: 1px solid #e8e8e8;
				margin-top: 14rpx;
			.psd{
				color: red;
				font-size: 20rpx;
				height: 32rpx;
				padding: 10rpx;
			}
		}

		input {
			font-size: 28rpx;
			color: #4CD964;
			padding: 10rpx 0;
		}

		button {
			margin-top: 60rpx;
		}

		.forgetpwd {
			margin-top: 20rpx;
			font-size: 30rpx;
			float: right;
			color: #999999;
		}
	}
</style>
